<template>
  <div class="bottom-container">
    <div class="head">
      <div class="head-main">
        <div class="head-item item1">
          <div class="title">联系我们</div>
          <div class="text">地址：重庆市渝中区人民路232号</div>
          <div class="text">政务咨询投诉电话：12345</div>
        </div>
        <div class="head-item item2">
          <div class="title">相关站点</div>
          <div class="text path" @click="openPath('http://www.cq.gov.cn/')">
            重庆市政府门户网站
          </div>
          <div
            class="text path"
            @click="openPath('http://gjzwfw.www.gov.cn/index.html')"
          >
            全国一体化政务服务平台
          </div>
          <div class="text path" @click="openPath('http://www.tzxm.gov.cn/')">
            全国投资项目在线审批监管平台
          </div>
        </div>
        <div class="head-item item3">
          <div class="head-item-left">
            <img src="@/assets/img/dock/qrcode-big.png" alt="" />
            <div class="img-notice">重庆市政府</div>
          </div>
          <div class="head-item-right">
            <div class="qrCode-item">
              <div class="qrCode">
                <img
                  class="big-img"
                  src="@/assets/img/dock/wx-zfb.jpg"
                  alt=""
                />
                <img
                  class="small-img"
                  src="@/assets/img/dock/qrcode-small.png"
                  alt=""
                />
              </div>
              <div class="qrCode-notice">支付宝小程序</div>
            </div>
            <div class="qrCode-item">
              <div class="qrCode">
                <img class="big-img" src="@/assets/img/dock/wx-bd.jpg" alt="" />
                <img
                  class="small-img"
                  src="@/assets/img/dock/qrcode-small.png"
                  alt=""
                />
              </div>
              <div class="qrCode-notice">百度小程序</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="bottom">
      <div class="bottom-main">
        <div class="path-line">
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/wzdt/')"
          >
            网站地图
          </div>
          <div class="vertical">|</div>
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/gywm/')"
          >
            关于我们
          </div>
          <div class="vertical">|</div>
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/bzsm/')"
          >
            本站申明
          </div>
          <div class="vertical">|</div>
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/xszn/')"
          >
            新手指南
          </div>
          <div class="vertical">|</div>
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/cjwt/')"
          >
            常见问题
          </div>
          <div class="vertical">|</div>
          <div
            class="path-item"
            @click="openPath('http://zwykb.cq.gov.cn/ggbf_search/jszc/')"
          >
            技术支持
          </div>
        </div>
        <div class="text-line1">
          主办单位：重庆市人民政府办公厅 备案：渝ICP备05003300号 渝公网安备
          50010302000814号
        </div>
        <div class="text-line2">网站标识码：5000000095</div>
        <div class="unit-img-warp">
          <img
            src="@/assets/img/dock/error.png"
            alt=""
            @click="
              openPath(
                'http://121.43.68.40/exposure/jiucuo.html?site_code=5000000095&amp;url=http%3A%2F%2Fwww.cq.gov.cn%2F',
              )
            "
          />
          <img
            src="@/assets/img/dock/red.png"
            alt=""
            @click="
              openPath(
                'http://bszs.conac.cn/sitename?method=show&amp;id=072BDAB93D703248E053022819AC5512',
              )
            "
          />
          <img
            src="@/assets/img/dock/gaga.png"
            alt=""
            @click="
              openPath(
                'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50010302000814',
              )
            "
          />
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    openPath(path) {
      window.open(path);
    },
  },
};
</script>
<style lang="scss" scoped>
.bottom-container {
  width: 100%;
  height: 356px;
  .head {
    width: 100%;
    height: 206px;
    display: flex;
    align-items: center;
    background-color: #f1f2f3;
    .head-main {
      margin: auto;
      width: 1200px;
      display: flex;
      .head-item {
        width: 360px;
        height: 122px;
        .title {
          font-size: 20px;
          color: #222;
          font-weight: bold;
          margin-bottom: 13px;
        }
        .text {
          color: #6d6d6d;
          font-size: 16px;
          margin-bottom: 12px;
          &.path {
            cursor: pointer;
          }
        }
        .head-item-left {
          margin-right: 50px;
          .img-notice {
            margin-top: 8px;
            color: #6d6d6d;
            font-size: 16px;
            text-align: center;
          }
        }
        .head-item-right {
          .qrCode-item {
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            .qrCode {
              position: relative;
              display: flex;
              .small-img {
                margin-right: 14px;
              }
              .big-img {
                display: none;
                position: absolute;
                left: calc(50% - 6px);
                width: 100px;
                height: 100px;
                transform: translateX(-50%) translateY(-100%);
              }
            }
            .qrCode-notice {
              color: #6d6d6d;
              font-size: 16px;
              margin-bottom: 4px;
            }
          }
          .qrCode-item:first-child {
            margin-top: 15px;
          }
          .qrCode-item:hover {
            .big-img {
              display: block;
            }
          }
        }
      }
      .item1 {
        padding-left: 36px;
      }
      .item2 {
        padding-left: 132px;
        border-left: 1px solid #dedfdf;
      }
      .item3 {
        margin-left: auto;
        padding-left: 72px;
        border-left: 1px solid #dedfdf;
        display: flex;
      }
    }
  }
  .bottom {
    height: 150px;
    background-color: #eaebeb;
    .bottom-main {
      position: relative;
      width: 1200px;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 14px;
      color: #222;
      .path-line {
        margin-top: 33px;
        display: flex;
        .path-item {
          cursor: pointer;
        }
        .vertical {
          margin: 0px 4px;
        }
      }
      .text-line1 {
        margin-top: 30px;
      }
      .text-line2 {
        margin-top: 15px;
      }
      .unit-img-warp {
        position: absolute;
        bottom: 10px;
        right: 50px;
        display: flex;
        img {
          margin-right: 14px;
          cursor: pointer;
        }
      }
    }
  }
}
</style>
